package com.tian.entity;

import lombok.Data;
import lombok.ToString;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.time.LocalDateTime;

@ToString
@Data
@Measurement(name = "station_gun_communicate_log")
public class StationGunCommunicateLog {
    /**
     * 充电桩编号
     */
    @Column(name = "gun_no")
    private String gunNo;
    /**
     * 日志类型
     */
    @Column(name = "log_type")
    private Integer logType;
    /**
     * 日志参数
     */
    @Column(name = "params")
    private String params;
    /**
     * 日志时间
     */
    @Column(name = "time")
    private LocalDateTime time;
}